jQuery.fn.tooltip = function(content, striptags){
    if($('#tooltip').length == 0) {
        $('body').append('<div id="tooltip"></div>');
    }
    var tObj = $('#tooltip').css({ position: "absolute", display:"none", backgroundColor: "White", border: "1px solid #B5DEFB", padding: "3px" });
    
    // each all items selected
    this.each(function(){
        $(this).mousemove(function(e){
            // run when user rollover and move mouse
            tObj.css({ display: "block", top: e.pageY+16, left: e.pageX});
            if(content === true) {
                content = $(this).attr('title');
            }
            if(striptags == true) {
                tObj.text(content);
            } else {
                tObj.html(content);
            }
        }).mouseout(function(e){
            // run when user move rollout
            tObj.css({ display: "none" });
        });
    });
}